<ul id="myTab" class="nav nav-tabs">
  <li class="active">
  <%= link_to "自有文件",root_path %>
  </li>
  <li class="">
     <%= link_to "共享文件",users_path %>
  </li>
  <li class="dropdown">
    <a href="#" id="myTabDrop1" class="dropdown-toggle" data-toggle="dropdown">借阅文件 <b class="caret"></b></a>
    <ul class="dropdown-menu" role="menu" aria-labelledby="myTabDrop1">
      <li class=""><a href="#dropdown1" tabindex="-1" data-toggle="tab">@借阅成功</a></li>
      <li class="active"><a href="#dropdown2" tabindex="-1" data-toggle="tab">@借阅中</a></li>
    </ul>
  </li>
</ul>